package com.ruoyi.word.dao.mapper;

import com.ruoyi.common.domain.word.CommonWordRa;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface CommonWordRaMapper extends Mapper<CommonWordRa> {

    List<CommonWordRa> findByWhereStr(@Param("whereStr") String whereStr, @Param("orderField") String orderField, @Param("order") String order);

    int deleteByWid(@Param("wid") Long wid);

    List<CommonWordRa> findByWid(@Param("wid") Long wid);

    List<Map<String, Object>> findAllRa();
}